package com.shiguiwu.langchain.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "reservation")
public class Reservation {

    @Id
    private Long id;
    /**
     * 名称
     */
    private String name;
    /**
     * 性别：0是女生，1是男生，2是未知
     */
    private Integer gender;
    /**
     * 电话号码
     */
    private String phone;
    /**
     * 预约时间
     */
    private LocalDateTime communicationTime;
    /**
     * 省份
     */
    private String province;
    /**
     * 咨询分数
     */
    private Integer estimatedScore;
}